package com.weipai.springboot.enums;

import com.weipai.springboot.util.PropUtils;

/**
 * 短信模版编码
 */
public enum SMSCode {

    DEFAULT_CODE(PropUtils.getString("aliyun.message.defaultCode"), "默认通用验证码"),
    REGISTER_CODE(PropUtils.getString("aliyun.message.registerCode"), "注册验证码");

    private String code;
    private String name;

    SMSCode(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
